<template>
   <div>
        <p>测试</p>
        <slot :data='list'>
            <ul>
                <li v-for="(item,index) in list" :key='index'>{{item}}</li>
            </ul>
        </slot>
    </div> 
</template>
<script>
export default {
    name:'cpm',
    data(){
        return{
            list:['c','b','a','j']
        }
    }
}
</script>